package com.wtcrazy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wtcrazy.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    void userSubmit(@Param("order") Order order);

    List<Order> userGetAll(@Param("uid") String uid);

    Order userGet( @Param("id") String id);
}
